package top.auntie.service;

import com.github.pagehelper.PageInfo;
import top.auntie.bean.OrgTypeSaveDto;
import top.auntie.bean.PageReq;
import top.auntie.model.OrgType;
import top.auntie.model.Type;

import java.util.List;

public interface OrgTypeService {

    PageInfo<?> query(PageReq pageReq);

    void save(OrgTypeSaveDto orgTypeSaveDto);

    void delete();

    OrgType getOrgType();

    List<Type> findTypeByOrgId(Integer orgId);
}
